package edu.sctu.wulixia.month4and5.day20150527;

/**
 * Created by user05 on 2015/5/27.
 */
public class Window {
    private String windowname;
    private Dish[] dishes;


    public void isWindowInfo(String windowname,Dish[] dishes){
        this.windowname = windowname;
        this.dishes = dishes;
    }

    public String getNumber() {
        return windowname;
    }

    public void setNumber(String windowname) {
        this.windowname = windowname;
    }

    public Dish[] getDishes() {
        return dishes;
    }

    public void setDishes(Dish[] dishes) {
        this.dishes = dishes;
    }

    public Window[] isWindowMessage() {
        Window[] window_arrey = new Window[3];

        Window window0 = new Window();
        Window window1 = new Window();
        Window window2 = new Window();

        Dish dish = new Dish ();

        window_arrey[0] = window0;
        window_arrey[1] = window1;
        window_arrey[2] = window2;

        window_arrey[0].isWindowInfo("一号窗口",dish.isSelectSpecise());
        window_arrey[1].isWindowInfo("二号窗口",dish.isSelectSpecise());
        window_arrey[2].isWindowInfo("三号窗口",dish.isSelectSpecise());

        return window_arrey;
    }

}
